#include "mainwindow.h"
#include <QtWidgets/QApplication>
#include <QTranslator>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

	QTranslator translator(nullptr);
	if (translator.load(":/translations/app_zh.qm")) 
		a.installTranslator(&translator);

    MainWindow w;
    w.show();
    return a.exec();
}
